package demo1;

class Base{
    public int a = 100;
    public int b = 200;
}

class Derived extends Base{
    public int a = 101;
    public int c = 201;
    public void methon(){
//        a = 1;
//        b = 2;
//        c = 3;
        System.out.println("a = " + super.a + "," + "b = " + b + "," + "c = " + c);
    }
}

public class Test {
    public static void main(String[] args) {
        Derived derived = new Derived();
        derived.methon();
    }
}
